package com.xyc.global.configuration;

import com.google.gson.Gson;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Scope;

@Configuration
public class GsonAppConfiguration {

    @Bean
    @Scope("prototype")
    public Gson provideGson(){
        return new Gson();
    }
}
